home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / NEWSOFT / OCTOBER / PCLTOOLS / ASC2PCL / Formats < prev    next >
Text File  |  1996-10-03  |  2KB  |  58 lines

  1. # Page formats. These are hard-coded into the main program so you
  2. # needn't include this file. It's just a demonstration of how a
  3. # page format definition file is supposed to look.
  4.  
  5. # First come four promille-numbers (unit is inches!):
  6. # printable area x, printable area y, offset x, offset y (all portrait)
  7.  
  8. 7000, 10500, 500, 500
  9.  
  10. # Then the actual format definitions
  11. # First line: name of format.
  12. # Second line: number of rectangles, orientation (0 = portrait, 1 =
  13. # landscape), size x,y of rectangle relative to printable size (promilles),
  14. # after rotation. If additional numbers follow these mean:
  15. # PosY of header/footer line (in promilles relative to page dimensions),
  16. # Font scale in promilles, scalex (internal scaling factor used by asc2pcl),
  17. # Font number, style, weigth of font to use for header/footer. In this case
  18. # the next line must contain a string to print as header/footer.
  19. # Third line: for each rectangle: {x, y} of top left corners relative to
  20. # printable area size (promilles). y grows from top to bottom!
  21.  
  22. # Simple formats, no headers/footers
  23. 1 column, portrait
  24. 1, 0, 1000, 1000
  25. {0, 0}
  26.  
  27. 2 columns, landscape
  28. 2, 1, 450, 1000
  29. {0, 0}, {550, 0}
  30.  
  31. 3 columns, landscape
  32. 3, 1, 300, 1000
  33. {0, 0}, {350, 0}, {700, 0}
  34.  
  35. 4 thumbnails, portrait
  36. 4, 0, 450, 450
  37. {0, 0}, {550, 0}, {0, 550}, {550, 550}
  38.  
  39. 2 columns, portrait
  40. 2, 0, 450, 1000
  41. {0, 0}, {550, 0}
  42.  
  43. # Formats with headers/footers
  44. 2 columns, landscape +h
  45. 2, 1, 450, 950, 0, 2000, 1500, 2, 1, 0
  46. File <\f> (Page \#)
  47. {0, 50}, {550, 50}
  48.  
  49. 3 columns, landscape +h
  50. 3, 1, 300, 965, 0, 2000, 1500, 2, 1, 0
  51. File <\f> (Page \#)
  52. {0, 35}, {350, 35}, {700, 35}
  53.  
  54. # New Format (not hard-coded); overlapping rectangles, so be careful
  55. 3 columns portrait
  56. 3, 0, 400, 1000
  57. {0, 0}, {350, 0}, {700, 0}
  58.